#ifndef COMMON_OPR_TIME_H
#define COMMON_OPR_TIME_H

#include <string>

using namespace std;

class CommonOprTime
{
public:
    CommonOprTime();
    ~CommonOprTime();

    static uint64_t getTime();

    static string getTimestr();

    static double getMsTime();

    // 获取UTC+8时区时间戳
    static uint64_t getTimeUTC8(const uint64_t &recordTIme);
    // 获取UTC+8时区datetime
    static string getDateUTC8str(const uint64_t &recordTIme);
    // 整数转string,个位数补零  1--->01
    static string timeIntToString(int time);

};

#endif